Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken CI build #2255

Merged
merged 2 commits into from
Nov 7, 2017
Merged

Fix broken CI build #2255

merged 2 commits into from
Nov 7, 2017

Conversation

shilman
Copy link
Member

@shilman shilman commented Nov 7, 2017

Issue: N/A

What I did

How to test

yarn test --runInBand --core --reactnative

Is this testable with jest or storyshots?

Does this need a new example in the kitchen sink apps?

Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

- restore code from
cba07adda085fb3a8d7850f2b
53673be95196c3e
- update test fixture for codemod
@@ -1,7 +1,6 @@
/* eslint-disable */
import '@kadira/storybook-addons';
import '@kadira/react-storybook-decorator-centered';
import '@kadira/storybook-addon-comments';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if a project actually has this dependency? Currently it's replaced with @storybook/react-addon-comments, which is a non-existent package

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point 😄

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hypnosphi @danielduan any idea how this passed in #2189

I'm not so familiar with how our codemod works?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#2189 doesn't change anything in codemod

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated codemod & test cases per your suggestions @Hypnosphi . Also ran npm deprecate

@codecov
Copy link

codecov bot commented Nov 7, 2017

Codecov Report

❗ No coverage uploaded for pull request base (release/3.3@16c13e6). Click here to learn what that means.
The diff coverage is 66.66%.

Impacted file tree graph

@@              Coverage Diff               @@
##             release/3.3    #2255   +/-   ##
==============================================
  Coverage               ?   22.66%           
==============================================
  Files                  ?      346           
  Lines                  ?     6767           
  Branches               ?      905           
==============================================
  Hits                   ?     1534           
  Misses                 ?     4561           
  Partials               ?      672
Impacted Files Coverage Δ
...codemod/src/transforms/update-organisation-name.js 40.62% <ø> (ø)
...rganisation-name/update-organisation-name.input.js 0% <0%> (ø)
...ganisation-name/update-organisation-name.output.js 0% <0%> (ø)
addons/knobs/src/components/types/Array.js 93.33% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 16c13e6...6df219e. Read the comment docs.

@Hypnosphi Hypnosphi merged commit 79fb667 into release/3.3 Nov 7, 2017
@Hypnosphi Hypnosphi deleted the shilman/fix-broken-build branch November 7, 2017 14:13
Hypnosphi referenced this pull request Nov 7, 2017
# Conflicts:
#	addons/comments/package.json
#	addons/knobs/package.json
#	addons/knobs/src/components/types/Array.js
#	examples/cra-kitchen-sink/package.json
#	package.json
#	yarn.lock
@shilman shilman restored the shilman/fix-broken-build branch November 8, 2017 05:20
@ndelangen ndelangen deleted the shilman/fix-broken-build branch December 24, 2017 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants